package com.motong.gongdan.vo.system.otherVo;

import com.alibaba.fastjson.JSONObject;
import com.motong.gongdan.vo.system.common.query.SecondGroupCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author:fff
 * @time:2022/3/3
 */
@ApiModel(description = "任务列表参数类")
@Data
public class MissionListVo extends PageVo{
    private Integer id;
    @ApiModelProperty(value = "工单编号")
    private String workOrderCode;
    @ApiModelProperty(value = "工序编号")
    private String processCode;
    @ApiModelProperty(value = "工序名称")
    private String processName;
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "实际开始时间")
    private Date actualStartTime;
    @ApiModelProperty(value = "实际结束时间")
    private Date actualEndTime;
    @ApiModelProperty(value = "产品编号")
    private String productCode;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "产品规格")
    private String productSpecification;
    @ApiModelProperty(value = "工序状态")
    private List<String> processState;
    @ApiModelProperty(value = "分配状态 暂无")
    private String distributionState;
    @ApiModelProperty(value = "工单状态")
    private List<String> workOrderState;
    @ApiModelProperty(value = "报工权限")
    private String permission;
    @ApiModelProperty(value = "分配列表")
    private String distribution;

    @ApiModelProperty(value = "分配列表")
    private String distributionsList;

    //自定义字段搜索
    private Map<Integer, String> customFieldMap;

    //非自定义字段搜索
    private JSONObject searchOther;

    @ApiModelProperty("二级分组条件")
    private SecondGroupCondition secondSearchCondition;

    @ApiModelProperty("是否延期 0 否, 1 是")
    private Integer isDelay;

    @ApiModelProperty("任务id数组")
    private List<Integer> missionIds;

    @ApiModelProperty("工单id数组")
    private List<Integer> workOrderIds;

    @ApiModelProperty("看板id")
    private Integer screenPlanId;
}
